package com.quan.auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "upms-service", fallback = UpmsUserServiceFallback.class)
public interface UpmsUserService {

	@GetMapping(value = "/user/findByAccount/{account}")
    public Object findByAccount(@PathVariable(name="account") String account) ;
	
}
